package com.openbravo.bean.sales;

import java.util.Date;
import java.util.HashMap;

import cn.ekuma.data.dao.bean.I_AutoGeneratorStringKey;
import cn.ekuma.data.dao.bean.I_ModifiedLogBean;

@SuppressWarnings("serial")
public class KitchenLineInfo implements I_ModifiedLogBean<String>,I_AutoGeneratorStringKey{
	/**
	 * 
	 */
	private static final long serialVersionUID = -3009814743297450583L;
	
	public static int LINESTATE_deleted=-1;
    public static int LINESTATE_wait=0;
    public static int LINESTATE_noMaterial=1;//缺料
    public static int LINESTATE_cooking=2;//正在处理
	
    public static int TICKETSTATE_deleted=-1;
    public static int TICKETSTATE_background=0;
    public static int TICKETSTATE_editing=1;
    public static int TICKETSTATE_completed=2;
    
    protected String id;
    protected String ticketId;
    protected String tableName;
    protected int ticketLine;
    protected int ticketState;
    protected int lineState;//
    protected Date creatDate;
    
    protected boolean urgent;//加急
    
    protected double multiply;
    protected String productid;
    protected String attsetinstid;
	
	protected Date lastModified;
	
	@Override
	public String getKey() {
		return id;
	}
	@Override
	public Date getLastModified() {
		
		return lastModified;
	}
	
	@Override
	public void setLastModified(Date lastModified) {
		this.lastModified=lastModified;
	}
	
	public boolean isUrgent() {
		return urgent;
	}
	public void setUrgent(boolean urgent) {
		this.urgent = urgent;
	}
	@Override
	public void setKey(String key) {
		this.id=key;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTicketId() {
		return ticketId;
	}
	public void setTicketId(String ticketId) {
		this.ticketId = ticketId;
	}
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public int getTicketLineId() {
		return ticketLine;
	}
	public void setTicketLineId(int ticketLine) {
		this.ticketLine = ticketLine;
	}
	public int getTicketState() {
		return ticketState;
	}
	public void setTicketState(int ticketState) {
		this.ticketState = ticketState;
	}
	public int getLineState() {
		return lineState;
	}
	public void setLineState(int lineState) {
		this.lineState = lineState;
	}
	public Date getCreatDate() {
		return creatDate;
	}
	public void setCreatDate(Date creatDate) {
		this.creatDate = creatDate;
	}
	public double getMultiply() {
		return multiply;
	}
	public void setMultiply(double multiply) {
		this.multiply = multiply;
	}

	public String getProductid() {
		return productid;
	}
	public void setProductid(String productid) {
		this.productid = productid;
	}
	public String getAttsetinstid() {
		return attsetinstid;
	}
	public void setAttsetinstid(String attsetinstid) {
		this.attsetinstid = attsetinstid;
	}
	
	
	
}
